package com.linkhub.oms.admin.modules.order.domain.param.orderproduct;

import com.linkhub.oms.admin.modules.order.domain.param.BaseSingleOrderParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description: OrderLocalSkuSaveParam
 * @Author: echo
 * @Date: 2024/4/5 09:53
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("OrderLocalSkuReplaceParam")
public class OrderLocalSkuReplaceParam extends BaseSingleOrderParam implements Serializable {


    @ApiModelProperty("旧skuId")
    @NotBlank(message = "{validation.order.localSkuId.notBlank}")
    private String localSkuId;

    @ApiModelProperty("新skuId")
    @NotBlank(message = "{validation.order.localSkuId.notBlank}")
    private String replaceSkuId;

    @ApiModelProperty("shopProductId")
    private String shopProductId;

}
